package cn.fan.secondcache.service.imp;

import cn.fan.secondcache.entity.QuotaEntity;
import cn.fan.secondcache.mapper.QuotaMapper;
import cn.fan.secondcache.service.QuotaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * TODO
 *
 * @author HTHLKJ
 * @version 1.0
 * @date 2021/8/16 15:09
 */
@Service
public class QuotaServiceImpl extends ServiceImpl<QuotaMapper, QuotaEntity> implements QuotaService {
    @Autowired
    private QuotaMapper mapper;

    public Object test(String subject) {
        return mapper.selectBySubject(subject);
    }
}
